//
//  ViewController.h
//  Alarm3DExperiments
//
//  Created by 우성 김 on 12. 3. 28..
//  Copyright (c) 2012년 yy01ar@gmail.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AVFoundation/AVFoundation.h>

@interface ViewController : UIViewController <MPMediaPickerControllerDelegate>
{
    AVAudioPlayer *audioPlayer;
    MPMoviePlayerController *mpPlayer;
    MPMoviePlayerController *mpPlayer2;
    
    
    MPVolumeView *volumeView;
    NSURL *_url;
    
    BOOL isMusic;
    float volume;
}

@property (strong, nonatomic) IBOutlet UIView *volumeController;
@property (weak, nonatomic) IBOutlet UITextField *textfield;
//@property (retain, nonatomic) MPMoviePlayerController *mpPlayer;

-(IBAction)openMediaPicker:(id)sender;
@end
